package net.techwatch.guice;

import net.techwatch.guice.service.PersonService;

import com.google.inject.Guice;
import com.google.inject.Injector;

public class Main {

	/**
	 * @param args
	 */
	public static void main(String[] args) {
		Injector injector = Guice.createInjector(new PropertiesModule(), new PersonModule());
		PersonService service = injector.getInstance(PersonService.class);
		assert service.numberOfPerson() == 3;
	}

}
